package com.dsg.service.apply.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dsg.dao.apply.DsgApplyComMapper;
import com.dsg.entity.apply.DsgApplyCom;
import com.dsg.entity.dto.AosDtDto;
import com.dsg.entity.dto.AosHeadDto;
import com.dsg.service.apply.IDsgApplyComService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 公司申請資料 服务实现类
 * </p>
 *
 * @author system
 * @since 2020-07-04
 */
@Service
public class DsgApplyComServiceImpl extends ServiceImpl<DsgApplyComMapper, DsgApplyCom> implements IDsgApplyComService {
    @Override
    public Page<AosHeadDto> getAosHead(Page<AosHeadDto> page, Integer appType, String appNo, String cusNo, Integer appStatus, String entCode) {
        return baseMapper.getAosHead(page, appType, appNo, cusNo, appStatus, entCode);
    }

    public List<AosDtDto> getAosDt(String oid) {
        return baseMapper.getAosDt(oid);
    }

    @Override
    public Page<DsgApplyCom> selectByList(Page<DsgApplyCom> page, DsgApplyCom entity) {
        return null;
    }
}
